Genetic Programming in C++: Implementation Issues
نویسنده
چکیده
The purpose of our current research is to investigate the design and implementation of a Genetic Programming platform in C++, with primary focus on efficiency and flexibility. In this chapter we consider the lower level implementation aspects of such a platform, specifically, the Genome Interpreter. The fact that Genetic Programming is a computationally expensive task means that the overall efficiency of the platform in both memory and time is crucial. In particular, the node representation is the key part of the implementation in which the overhead will be magnified. We first compare a number of ways of storing the topology of the tree. The most efficient representation overall is one in which the program tree is a linear array of nodes in prefix order as opposed to a pointer based tree structure. We consider trade-offs with other linear representations, namely postfix and arbitrary positioning of functions and their arguments. We then consider how to represent which function or terminal each node represents, and demonstrate a very efficient one to two byte representation. Finally, we integrate these approaches and offer a prefix/jump-table (PJT) approach which results in a very small overhead per node in both time and space compared to the other approaches we investigated. In addition to being efficient, our interpreter is also very flexible. Finally, we discuss approaches for handling flow control, encapsulation, recursion, and simulated parallel programming.
منابع مشابه
A Fast and Self-Repairing Genetic Programming Designer for Logic Circuits
Usually, important parameters in the design and implementation of combinational logic circuits are the number of gates, transistors, and the levels used in the design of the circuit. In this regard, various evolutionary paradigms with different competency have recently been introduced. However, while being advantageous, evolutionary paradigms also have some limitations including: a) lack of con...
متن کاملThe Effectiveness of Genetic Planning Model in rainfall-runoff Simulation process
The prediction of river, s discharge rate is one of the important issues in water resources engineering. This issue is very important for the planning, management, and policy making in water resources management, especially in the country like Iran, with limited water resources in line the economic and environmental development. Awareness of how the relationship between rainfall and run...
متن کاملFuzzy Programming for Parallel Machines Scheduling: Minimizing Weighted Tardiness/Earliness and Flow Time through Genetic Algorithm
Appropriate scheduling and sequencing of tasks on machines is one of the basic and significant problems that a shop or a factory manager encounters; this is why in recent decades extensive studies have been done on scheduling issues. One type of scheduling problems is just-in-time (JIT) scheduling and in this area, motivated by JIT manufacturing, this study investigates a mathematical model for...
متن کاملFuzzy Programming for Parallel Machines Scheduling: Minimizing Weighted Tardiness/Earliness and Flowtime through Genetic Algorithm
Appropriate scheduling and sequencing of tasks on machines is one of the basic and significant problems that a shop or a factory manager encounters with it, this is why in recent decades extensive researches have been done on scheduling issues. A type of scheduling problems is just-in-time (JIT) scheduling and in this area, motivated by JIT manufacturing, this study investigates a mathematical ...
متن کاملAutomatic Conversion of Programs from Serial to Parallel using Genetic Programming - The Paragen System
This paper describes a novel system of converting sequential programs into functionally equivalent parallel programs without using data dependency rules. This system utilises the powerful directed search technique of Genetic Programming to nd the most eecient program in terms of parallelism. A brief description of the eld of Genetic Programming is given, followed by a discussion on the design a...
متن کاملA New Correlation Based on Multi-Gene Genetic Programming for Predicting the Sweet Natural Gas Compressibility Factor
Gas compressibility factor (z-factor) is an important parameter widely applied in petroleum and chemical engineering. Experimental measurements, equations of state (EOSs) and empirical correlations are the most common sources in z-factor calculations. However, these methods have serious limitations such as being time-consuming as well as those from a computational point of view, like instabilit...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993